getMaxValue

open fun getMaxValue(component: Int): Float

Returns the maximum normalized color component value for the specified component. The default implementation in this abstract class returns 1.0 for all components. Subclasses should override this method if necessary.

Return

the maximum normalized component value

Since

1.4

Parameters

component

the component index

Throws

if component is less than 0 or greater than numComponents - 1